<?php
namespace api\xcx\controller;
/**
 *  Member.php 会员信息控制器
 *
 * @copyright			(C) 2014-2018 ShengTeng
 * @lastmodify			2018-05-21
 */
use think\Db;
use think\Loader;
use think\controller\Rest;
class Test
{


    function st_password($pw, $authCode = '')
    {

        $result = "###" . md5(md5($authCode . $pw));
        return $result;
    }
    /**
     * text
     */
    public function testData(){
        $region = Model('region');
        $regionjc = "0";
        $regionInfo = $region->regionInfoById(1);
        if($regionInfo){
            $regionjc = $regionInfo['regionLogogram'];
        }
        return             $regionjc;
    }
}
